#---- Primary replication script ----

#Turnbull-Dugarte and Wagner (2025)
#"Heroes & villains: motivated projection of political identities"

# README: This single script will reproduce all analysis and output from the main text and supplementary appendix files,
# and produces six .html files of the log output form each.
# Scripts 1 & 2 should be run in consecutive order; Scrips 3 & 4 should be run in consecutive order. 
# The session.log file provides detailed information regarding both the operating system used to complete the analysis
# as well as the package versions used. 


library(knitr)
rmarkdown::render("script1_study1_main.R")
rmarkdown::render("script2_study1_appendix.R")
rmarkdown::render("script3_study2_main.R")
rmarkdown::render("script4_study2_appendix.R")
rmarkdown::render("script5_validation_study.R")
rmarkdown::render("script6_appendix_misc.R")



